package com.huike.review.service;

import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    public void insert(Review review);

    public int delete(Integer id);

    public int update(Review review);

    public Review selectById(@Param("id") Integer id);

   TableDataInfo  getPage(Integer pageNum,Integer pageSize);
}
